﻿using UnityEngine;
using System.Collections;
using Dict.DataModel;

namespace Dict.Blo
{
    public class DictHeroBreachBlo
    {
        public static TableHeroBreached GetTableHeroBreached(int level)
        {
            return Dict.DictDataManager.Instance.tableHeroBreachedDao.GetById(level);
        }

        public static double GetTableHeroBreachedNeedExp(int level)
        {
            TableHeroBreached data = Dict.DictDataManager.Instance.tableHeroBreachedDao.GetById(level - 1);
            return data.Exp;
        }
    }

}
